package com.alex.core.domain.device;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * 订单查询设备参数封装
 * @author cb
 * @date 2019/10/25 16:02
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@ApiModel
public class DeviceQueryDTO {

    /**
     * 设备编号
     */
    @NotBlank
    @ApiModelProperty(name = "deviceNumber", value = "设备编号")
    private String deviceNumber;

    /**
     * 设备所在路
     */
    @ApiModelProperty(name = "deviceWay", value = "设备所在路")
    private Integer deviceWay;

}
